<?php

class Core_Template_Html_Form_Upload_Image extends Soul_Template_Html_Form_Input {
	
	private $_count = 1;
	private $_imageWidth = 120;
	private $_imageHeight = NULL;
	
    public function __construct() {
        $this->templateName = 'form/upload/image';
        $this->addClass('image-upload');
        $this->addAcceptRule(array('jpg', 'jpeg', 'gif', 'png'));
    }
    
    public function getCount(){
    	return $this->_count;
    }
    
    public function setCount($value){
    	$this->_count = $value;
    	return $this;
    }
    
    public function getImageWidth(){
    	return $this->_imageWidth;
    }
    
    public function setImageWidth($value){
    	$this->_imageWidth = $value;
    	return $this;
    }    
    
    public function getImageHeight(){
    	return $this->_imageHeight;
    }
    
    public function setImageHeight($value){
    	$this->_imageHeight = $value;
    	return $this;
    }    

    protected function renderReadonly() {
        return '';
    }

    protected function renderEditable() {
		return '';
    }
}